package com.ashen.study.service;

import com.ashen.study.entity.UserInfo;
import com.ashen.study.model.request.UserRequest;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author huangxiaolin
 * @version 1.0.0
 * @ClassName UserInfoService.java
 * @Description
 * @createTime 2019年05月06日 15:28:00
 */

public interface UserInfoService {

    List<UserInfo> getUserInfo();



    boolean insert(UserRequest userRequest);


    boolean update(UserRequest userRequest) ;

    /**
     * 根据id删除信息
     * @param id
     * @return
     */
    boolean delete(Integer id);
}
